package com.cyl.manager.aws.convert;

import org.mapstruct.Mapper;

import com.cyl.manager.aws.domain.entity.ShopStatistics;
import com.cyl.manager.aws.pojo.dto.ShopStatisticsDTO;
import com.cyl.manager.aws.pojo.vo.ShopStatisticsVO;
import java.util.List;
/**
 * 店铺数据统计  DO <=> DTO <=> VO / BO / Query
 *
 * @author zcc
 */
@Mapper(componentModel = "spring")
public interface ShopStatisticsConvert  {

    /**
     * @param source DO
     * @return DTO
     */
    ShopStatisticsDTO do2dto(ShopStatistics source);

    /**
     * @param source DTO
     * @return DO
     */
    ShopStatistics dto2do(ShopStatisticsDTO source);

    List<ShopStatisticsVO> dos2vos(List<ShopStatistics> list);
}
